package de.jonasjelten.jcalc.parser;

import de.jonasjelten.jcalc.exception.JParserException;
import de.jonasjelten.jcalc.mathExps.JMathExp;
import java.util.List;

/**
 *
 * @author JJ
 */
public abstract class JExpressionParser {
    public JParser parser;
    protected String argseperator = ";";

    public abstract JMathExp parseExpression(String[] expression) throws JParserException;
    public abstract List<String> getExpressionAliases();

    @Override
    public String toString() {
        return this.getClass().getCanonicalName();
    }

    public void setParser(JParser parser) {
        this.parser = parser;
    }
}
